package com.ferret.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Controller
 *
 * @author nanxin.chen
 * @since 2017/10/10
 */
@RestController
@RequestMapping("/")
public class FirstController {

    @RequestMapping("/msg")
    public String hello(String msg) {
        return msg;
    }
}
